<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ tag pageEncoding="UTF-8" %>
<%@ attribute name="btnClass" required="false" type="java.lang.String" %>
<%@ attribute name="type" required="false" type="java.lang.String" %>
<c:set var="type" value="${empty type?'button':type}"/>
<%@ attribute name="iconClass" required="false" type="java.lang.String" %>
<%@ attribute name="text" required="true" type="java.lang.String" %>
<%@ attribute name="id" required="false" type="java.lang.String" %>

<button class="btn ${btnClass}" type="${type}" id="${id}" style="margin-right: 20px;">
    <c:if test="${not empty iconClass}"><i class="ace-icon fa ${iconClass} bigger-110"></i></c:if>${text}
</button>
<%--用于放script,不推荐--%>
<jsp:doBody/>
